package com.app.service;

import com.app.common.Result;
import com.app.model.ActivityEnlistModel;
import com.app.model.ActivityModel;
import com.app.model.SystemModel;
import com.app.model.UserModel;
import com.app.vo.ActivityVo;

import java.text.ParseException;
import java.util.List;

public interface ActivityService {
    ActivityVo selectActivityList(Integer type, String title, Integer page, Integer limit,Integer villageId) throws ParseException;

    List<SystemModel> selectTypeList();

    ActivityModel selectContentById(Integer id) throws ParseException;

    void application(UserModel user, Integer activityId);


    Result upload(String files, Integer id,Integer activityId);

    ActivityEnlistModel selectFiles(Integer activityId, Integer userId);
}
